package com.dragon.modules.yuegou.entity.coupon;

import com.baomidou.mybatisplus.annotation.TableName;
import com.dragon.modules.yuegou.enums.coupon.ParkApplyCheckRecordStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * 停车券审核记录表实体类<br>
 * 对应的表为：coup_park_apply_check_record<br>
 * 
 * @author ljf
 * @date 2019-08-06 10:38:00
 * @company sgy
 * @version 2.0
 */
@TableName("coup_park_apply_check_record")
@ApiModel(description = "停车券审核记录表")
public class ParkApplyCheckRecordEntity {

    /**  */
	protected String id;

    /** 停车券申请ID */
	@ApiModelProperty("停车券申请ID")
	protected String parkApplyId;

    /** 审核时间 */
	@ApiModelProperty("审核时间")
	protected LocalDateTime checkTime;

    /** 审核反馈 */
	@ApiModelProperty("审核反馈")
	protected String checkReason;

    /** [枚举]状态：2-审核通过-PASS、3-审核未通过-UNPASS */
	@ApiModelProperty("[枚举]状态：2-审核通过-PASS、3-审核未通过-UNPASS")
	protected ParkApplyCheckRecordStatus status;

    /** 商户ID */
	@ApiModelProperty("商户ID")
	protected String merchantId;

    /** 审核人 */
	@ApiModelProperty("审核人")
	protected String checkedBy;

	/**
	 * 构造一个空停车券审核记录表实体对象
	 */
	public ParkApplyCheckRecordEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个停车券审核记录表实体对象
	 * 
	 * @param other 其它对象
	 */
	public ParkApplyCheckRecordEntity(ParkApplyCheckRecordEntity other){
		super();
     	this.id = other.id;
     	this.parkApplyId = other.parkApplyId;
     	this.checkTime = other.checkTime;
     	this.checkReason = other.checkReason;
     	this.status = other.status;
     	this.merchantId = other.merchantId;
     	this.checkedBy = other.checkedBy;
	}


	/**
	 * 获取
	 * 
	 * @return id 
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置
	 * 
	 * @param id 
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取停车券申请ID
	 * 
	 * @return parkApplyId 停车券申请ID
	 */
	public String getParkApplyId() {
		return parkApplyId;
	}
  	
	/**
	 * 设置停车券申请ID
	 * 
	 * @param parkApplyId 停车券申请ID
	 */
	public void setParkApplyId(String parkApplyId) {
		this.parkApplyId = parkApplyId;
	}

	/**
	 * 获取审核时间
	 * 
	 * @return checkTime 审核时间
	 */
	public LocalDateTime getCheckTime() {
		return checkTime;
	}
  	
	/**
	 * 设置审核时间
	 * 
	 * @param checkTime 审核时间
	 */
	public void setCheckTime(LocalDateTime checkTime) {
		this.checkTime = checkTime;
	}

	/**
	 * 获取审核反馈
	 * 
	 * @return checkReason 审核反馈
	 */
	public String getCheckReason() {
		return checkReason;
	}
  	
	/**
	 * 设置审核反馈
	 * 
	 * @param checkReason 审核反馈
	 */
	public void setCheckReason(String checkReason) {
		this.checkReason = checkReason;
	}

	/**
	 * 获取[枚举]状态：2-审核通过-PASS、3-审核未通过-UNPASS
	 * 
	 * @return status [枚举]状态：2-审核通过-PASS、3-审核未通过-UNPASS
	 */
	public ParkApplyCheckRecordStatus getStatus() {
		return status;
	}
  	
	/**
	 * 设置[枚举]状态：2-审核通过-PASS、3-审核未通过-UNPASS
	 * 
	 * @param status [枚举]状态：2-审核通过-PASS、3-审核未通过-UNPASS
	 */
	public void setStatus(ParkApplyCheckRecordStatus status) {
		this.status = status;
	}

	/**
	 * 获取商户ID
	 * 
	 * @return merchantId 商户ID
	 */
	public String getMerchantId() {
		return merchantId;
	}
  	
	/**
	 * 设置商户ID
	 * 
	 * @param merchantId 商户ID
	 */
	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}

	/**
	 * 获取审核人
	 * 
	 * @return checkedBy 审核人
	 */
	public String getCheckedBy() {
		return checkedBy;
	}
  	
	/**
	 * 设置审核人
	 * 
	 * @param checkedBy 审核人
	 */
	public void setCheckedBy(String checkedBy) {
		this.checkedBy = checkedBy;
	}

    public String toString() {
		return new StringBuilder().append("ParkApplyCheckRecordEntity{").
			append("id=").append(id).
			append(",parkApplyId=").append(parkApplyId).
			append(",checkTime=").append(checkTime).
			append(",checkReason=").append(checkReason).
			append(",status=").append(status).
			append(",merchantId=").append(merchantId).
			append(",checkedBy=").append(checkedBy).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public ParkApplyCheckRecordEntity copy() {
		return new ParkApplyCheckRecordEntity(this);
	}

    /**  */
	public static final String COL_ID = "id";

    /** 停车券申请ID */
	public static final String COL_PARK_APPLY_ID = "park_apply_id";

    /** 审核时间 */
	public static final String COL_CHECK_TIME = "check_time";

    /** 审核反馈 */
	public static final String COL_CHECK_REASON = "check_reason";

    /** [枚举]状态：2-审核通过-PASS、3-审核未通过-UNPASS */
	public static final String COL_STATUS = "status";

    /** 商户ID */
	public static final String COL_MERCHANT_ID = "merchant_id";

    /** 审核人 */
	public static final String COL_CHECKED_BY = "checked_by";
}
